package org.lanqiao.tjut.orm;

public class StuBean {
	private Integer stuid;
	private String stuname;
	private Integer teaid;
	// 在多端 建立对1端的引用  实现多对一的映射关系
	private TeaBean teabean;


	public Integer getStuid() {
		return stuid;
	}
	public void setStuid(Integer stuid) {
		this.stuid = stuid;
	}
	public String getStuname() {
		return stuname;
	}
	public void setStuname(String stuname) {
		this.stuname = stuname;
	}
	public Integer getTeaid() {
		return teaid;
	}
	public void setTeaid(Integer teaid) {
		this.teaid = teaid;
	}
	public TeaBean getTeabean() {
		return teabean;
	}
	public void setTeabean(TeaBean teabean) {
		this.teabean = teabean;
	}
	@Override
	public String toString() {
		return "StuBean [stuid=" + stuid + ", stuname=" + stuname + ", teaid=" + teaid + ", teabean=" + teabean + "]";
	}
	
	
}
